import service from '../utils/request'

export function fetchResumeList () {
  return service({
    url: '/resume',
    method: 'get',
  })
}

export function editResume (data) {
  return service({
    url: '/resume',
    method: 'put',
    data
  })
}

export function deleteResume (params) {
  return service({
    url: '/resume',
    method: 'delete',
    params
  })
}